package com.zf.yichat.utils.yunshangshuju;

/**
 * @author idea
 * @date Created in 2020/11/12 12:44
 * @description
 */
public class DoItemCpsUrlReq extends YsBaseReqest {
    private String materialId;//	String	https%3a%2f%2fwqitem.jd.com%2fitem%2fview%3fsku%3d23484023378	是	京东商品链接或京东短链接，需要使用Urlencode进行编码，建议链接使用微Q前缀，能较好适配微信手Q页面
    private String key_id;//String	xxxx	是	联盟调用key，会员中心京东授权列表页获取
    private Long positionId;//Number			新增推广位id （不填的话，为其默认生成一个唯一此接口推广位-名称：微信手Q短链接）
    private String couponUrl;//String			优惠券领取链接，在使用优惠券、商品二合一功能时入参，且materialId须为商品详情页链接，需进行Urlencode编码
    private Integer chainType;//Number	3		转链类型，1：长链， 2 ：短链 ，3： 长链+短链，默认短链
    private String subUnionId;//String			子联盟ID
    private String pid;//String			子帐号身份标识，格式为子站长ID_子站长网站ID_子站长推广位ID
    private Integer autoSearch;//Number	1		是否启用优惠券自动搜索功能，如启用且优惠券链接未传入时，系统会自动查询优惠券

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public String getKey_id() {
        return key_id;
    }

    public void setKey_id(String key_id) {
        this.key_id = key_id;
    }

    public Long getPositionId() {
        return positionId;
    }

    public void setPositionId(Long positionId) {
        this.positionId = positionId;
    }

    public String getCouponUrl() {
        return couponUrl;
    }

    public void setCouponUrl(String couponUrl) {
        this.couponUrl = couponUrl;
    }

    public Integer getChainType() {
        return chainType;
    }

    public void setChainType(Integer chainType) {
        this.chainType = chainType;
    }

    public String getSubUnionId() {
        return subUnionId;
    }

    public void setSubUnionId(String subUnionId) {
        this.subUnionId = subUnionId;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public Integer getAutoSearch() {
        return autoSearch;
    }

    public void setAutoSearch(Integer autoSearch) {
        this.autoSearch = autoSearch;
    }
}
